package com.cnt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cnt.entity.Money;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MoneyDao extends BaseMapper<Money> {
    @Select("select * from money where user_id=#{userId}")
    Money selectByUserId(Integer userId);
}
